package com.is.add.util.DimensionUtil;

import com.is.add.model.OrderBase;

/**
 * 负责人维度
 * @author jackie
 */
public class SalesDimension implements Dimension<OrderBase> {
    /**
     * 通过基础数据分析出维度对应key值
     *
     * @param baseBean 基础Bean
     * @return 维度key
     */
    @Override
    public String compare(OrderBase baseBean) {
        return baseBean.getSales()+"-"+baseBean.getSales();
    }

    @Override
    public String getTitle() {
        return "负责人";
    }
}
